<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="vue.js"></script>
    <div id="app">
        <!-- json数据(变量）-->
        <h1>{{ msg }}</h1>
        <!-- 数字-->
        <h1>{{ 10 }}</h1>
        <!-- 字符串 -->
        <h1>{{"String "}}</h1>
        <!-- 表达式-->
        <h1>{{ 12+13}}</h1>
        <h1>{{"hello"+name}}</h1>
        <h1>{{2>3? "true":"false"}}</h1>
    </div>
<script>
    var vm=new Vue({
        el: "#app",
        data:{
            msg:"hello",
            name:"三毛"
        }
    });
</script>
</body>
</html>